package com.stylefeng.guns.modular.system.model;

import com.baomidou.mybatisplus.enums.IdType;
import java.util.Date;
import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.activerecord.Model;
import com.baomidou.mybatisplus.annotations.TableName;
import java.io.Serializable;

/**
 * <p>
 * 楼盘项目信息表
 * </p>
 *
 * @author leequn
 * @since 2018-08-02
 */
@TableName("tb_project_info")
public class ProjectInfo extends Model<ProjectInfo> {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;
    /**
     * 楼盘名称
     */
    @TableField("project_name")
    private String projectName;
    /**
     * 开盘开始时间
     */
    @TableField("start_time")
    private Date startTime;
    /**
     * 开盘结束时间
     */
    @TableField("end_time")
    private Date endTime;
    /**
     * 公测开始时间
     */
    @TableField("test_start_time")
    private Date testStartTime;
    /**
     * 公测结束时间
     */
    @TableField("test_end_time")
    private Date testEndTime;
    /**
     * 项目图片
     */
    @TableField("project_img")
    private String projectImg;
    /**
     * 联系电话
     */
    private String phone;
    /**
     * 项目状态
     */
    private Integer stu;
    /**
     * 开发商
     */
    private Integer deptid;


    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getProjectName() {
        return projectName;
    }

    public void setProjectName(String projectName) {
        this.projectName = projectName;
    }

    public Date getStartTime() {
        return startTime;
    }

    public void setStartTime(Date startTime) {
        this.startTime = startTime;
    }

    public Date getEndTime() {
        return endTime;
    }

    public void setEndTime(Date endTime) {
        this.endTime = endTime;
    }

    public Date getTestStartTime() {
        return testStartTime;
    }

    public void setTestStartTime(Date testStartTime) {
        this.testStartTime = testStartTime;
    }

    public Date getTestEndTime() {
        return testEndTime;
    }

    public void setTestEndTime(Date testEndTime) {
        this.testEndTime = testEndTime;
    }

    public String getProjectImg() {
        return projectImg;
    }

    public void setProjectImg(String projectImg) {
        this.projectImg = projectImg;
    }

    public String getPhone() {
        return phone;
    }

    public void setPhone(String phone) {
        this.phone = phone;
    }

    public Integer getStu() {
        return stu;
    }

    public void setStu(Integer stu) {
        this.stu = stu;
    }

    public Integer getDeptid() {
        return deptid;
    }

    public void setDeptid(Integer deptid) {
        this.deptid = deptid;
    }

    @Override
    protected Serializable pkVal() {
        return this.id;
    }

    @Override
    public String toString() {
        return "ProjectInfo{" +
        "id=" + id +
        ", projectName=" + projectName +
        ", startTime=" + startTime +
        ", endTime=" + endTime +
        ", testStartTime=" + testStartTime +
        ", testEndTime=" + testEndTime +
        ", projectImg=" + projectImg +
        ", phone=" + phone +
        ", stu=" + stu +
        ", deptid=" + deptid +
        "}";
    }
}
